home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / win_u_z / wshell11.zip / WSLIB.H < prev    next >
Text File  |  1991-11-18  |  1KB  |  29 lines

  1. #ifndef WSLIB_H
  2. #define WSLIB_H
  3.  
  4. #include <stdio.h>
  5.  
  6. /* returns true if path_name is a directory or drive name */
  7. BOOL  FAR PASCAL IsDirectory (LPSTR path_name);
  8.  
  9. /* retrieves a token from a string.  Returns consecutive tokens from string */
  10. /* if str is NULL.  Returns a pointer to a token or NULL if no more tokens  */
  11. LPSTR FAR PASCAL lstrtok (LPSTR str);
  12.  
  13. /* the following are far versions of the standard C routines */
  14. LPSTR FAR PASCAL lstrstr (LPSTR strSrc, LPSTR strPat);
  15. int   FAR PASCAL lstrncmp (LPSTR str1, LPSTR str2, long len);
  16. void  FAR PASCAL lstrncpy (LPSTR str1, LPSTR str2, long maxlen);
  17. LPSTR FAR PASCAL lstrpcpy (LPSTR str1, LPSTR str2);
  18. LPSTR FAR PASCAL lstrchr (LPSTR str, char c);
  19. void  FAR PASCAL lmemcpy (LPSTR szDst, LPSTR szSrc, LONG lLen);
  20. void  FAR PASCAL lbmemcpy (LPSTR szDst, LPSTR szSrc, LONG lLen);
  21. FILE  FAR * FAR PASCAL lfopen (LPSTR szName, LPSTR szAttribs);
  22. LPSTR FAR PASCAL lfgets (LPSTR szBuff, int iMax, FILE FAR *lpfFile);
  23. int FAR PASCAL lfclose (FILE FAR *lpfFile);
  24.  
  25. /* yields control to other applications */
  26. void  FAR PASCAL YieldToOthers ();
  27.  
  28. #endif
  29.